package org.jeecg.modules.recruitment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description:
 * @Author: jeecg-boot
 * @Date:   2019-08-06
 * @Version: V1.0
 */
@Data
@TableName("recruitment_Absorb")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="recruitment_Absorb对象", description="招聘信息")
public class RecruitmentAbsorb {

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**主键*/
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.UUID)
    private String pkAbsorb;
    @ApiModelProperty(value = "招聘单位")
    private String company;
    @ApiModelProperty(value = "单位信息")
    private String information;
    @ApiModelProperty(value = "招聘岗位")
    private String position;
    @ApiModelProperty(value = "学历要求")
    private String degreeLimit;
    @ApiModelProperty(value = "岗位职责")
    private String duty;
    @ApiModelProperty(value = "岗位要求")
    private String requirements;
    @ApiModelProperty(value = "工作经验")
    private String workExperience;
    @ApiModelProperty(value = "工作地点")
    private String workPlace;
    @ApiModelProperty(value = "薪资待遇")
    private String salary;
    @ApiModelProperty(value = "福利待遇")
    private String socialBenefits;
    @ApiModelProperty(value = "招聘人数")
    private String absorbAmount;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布日期")
    private String issueTime;
    /**
     * 删除状态（0，正常，1已删除）
     */
    @TableLogic
    private Integer status;
}
